package com.yf.tz.enums;

import lombok.Getter;


/**
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Mon Jul 20 16:20:50 CST 2020
 */
@Getter
public enum MallOrderPaidEnum {


                   NO(0,"未支付")
                                    ,


                   YES(1,"已支付")

                                ;


        int index;
        String value;

    MallOrderPaidEnum(int index,String value) {
        this.index = index;
        this.value = value;
        }

    public static String indexOf(int idx) {
        return MallOrderPaidEnum.values()[idx].getValue();
    }

}
